//! Header for the class Player
#ifndef PLAYER_H
#define PLAYER_H
//! Represents the Player Visitor (Visitor pattern)
/*!
	The class Player prints a MusicMedia to std::cout.
	This simulates the playing of the song.
	\class Player
	\author Andreas Lehner
	\date 06.12.2012
*/
#include "IVIsitor.h"

class Player : public IVisitor {
public:
	//! The Ctor for the Player
	/*!
	The CTor of a Player. Initializes the print
	number standing in front of every Song.
	*/
	Player(): mPrintnumber(1){}
	void Visit(Song * song);
	void Visit(Album * album);
	void Visit(MusicCollection * collection);
private:
	//number printed before a Song
	size_t mPrintnumber;
};

#endif